home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / Handler / c / DeleteW < prev    next >
Text File  |  1995-07-08  |  445b  |  17 lines

  1. #include "DeskLib:Wimp.h"
  2. #include "DeskLib:Window.h"
  3. #include "DeskLib:Handler.h"
  4.  
  5.  
  6. extern BOOL Handler_DeleteWindow(event_pollblock *event, void *reference)
  7. /*  Alternate handler to Handler_Close, which calls the higher-level 
  8.  *  Window_Delete() to close and delete the window, release memory, and
  9.  *  remove all handlers attached to the window.
  10.  */
  11. {
  12.   UNUSED( reference);
  13.   
  14.   Window_Delete(event->data.openblock.window);
  15.   return(TRUE);
  16. }
  17.